Factoring into coprimes in essentially linear time

نویسنده

  • Daniel J. Bernstein
چکیده

Let S be a finite set of positive integers. A “coprime base for S” means a set P of positive integers such that (1) each element of P is coprime to every other element of P and (2) each element of S is a product of powers of elements of P. There is a natural coprime base for S. This paper introduces an algorithm that computes the natural coprime base for S in essentially linear time. The best previous result was a quadratic-time algorithm of Bach, Driscoll, and Shallit. This paper also shows how to factor S into elements of P in essentially linear time. The algorithms use solely multiplication, exact division, gcd, and equality testing, so they apply to any free commutative monoid with fast algorithms for those four operations; for example, given a finite set S of monic polynomials over a finite field, the algorithms factor S into coprimes in essentially linear time. These algorithms can be used as a substitute for prime factorization in many applications.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Detecting perfect powers by factoring into coprimes

This paper presents an algorithm that, given an integer n > 1, finds the largest integer k such that n is a kth power. A previous algorithm by the first author took time b1+o(1) where b = lg n; more precisely, time b exp(O( √ lg b lg lg b)); conjecturally, time b(lg b)O(1). The new algorithm takes time b(lg b)O(1). It relies on relatively complicated subroutines—specifically, on the first autho...

متن کامل

On Extremal Sets without Coprimes

1. Definitions, formulation of problems and conjectures. We use the following notations: Z denotes the set of all integers, N denotes the set of positive integers, and P = {p 1 , p 2 ,. . .} = {2, 3, 5,. . .} denotes the set of all primes. We set (1.1) Q k = k i=1 p i. For two numbers u, v ∈ N we write (u, v) = 1 if u and v are coprimes. We are particularly interested in the sets (1.2) N s = {u...

متن کامل

Polynomials over Finite Fields and Applications

Self-reciprocal irreducible monic (srim) polynomials over finite fields have been studied in the past. These polynomials can be studied in the context of quadratic transformation of irreducible polynomials over finite fields. In this talk we present the generalization of some of the results known about srim polynomials to polynomials obtained by quadratic transformation of irreducible polynomia...

متن کامل

On some number densities related to coprimes

1 S. Sykora, On some number densities related to coprimes, DOI: 10.3247/SL5Math14.005 On some number densities related to coprimes Stanislav Sykora, Extra Byte, www.ebyte.it First published in November 15, 2014 This brief essay explores the limit mean densities of subsets of natural numbers m such that the pair (m, m\b) is either coprime or not coprime. Here m\b = floor(m/b) denotes the operati...

متن کامل

Factoring Finite-rank Linear Functional Systems∗

By a finite-rank (linear functional) system, we mean a system of linear differential, shift and q-shift operators or, any mixture thereof, whose solution space is finite-dimensional. This poster attempts to develop an algorithm for factoring finite-rank systems into “subsystems” whose solution spaces are of lower dimension. This work consists of three parts: 1. using module-theoretic language t...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • J. Algorithms

دوره 54  شماره 

صفحات  -

تاریخ انتشار 2005